package com.yuerlive.rainbow.api;

import com.yuerlive.rainbow.utils.RetrofitUtil;

/**
 * Created by xiaoyi on 2017/5/23.
 */

public class HomApi {
    public HomeService homeService;

    private HomApi() {
        homeService = RetrofitUtil.getRetrofit().create(HomeService.class);
    }


    public static HomApi getInstance() {
        return InnerHolder.sInstance;
    }

    private static class InnerHolder {
        public static final HomApi sInstance = new HomApi();
    }
}
